package com.sghj.record.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zk
 * @version 1.0
 * @date 2024-7-16 16:59
 * @description
 */
@Data
public class RecordIncallRes {

    @ApiModelProperty(value = "呼入电话记录")
    @TableId(value = "pid", type = IdType.AUTO)
    private Integer pid;

    @ApiModelProperty(value = "日计划id")
    private Integer dayPlanNumber;


    @ApiModelProperty(value = "线别")
    @TableId(value = "line_type")
    private String lineType;

    @ApiModelProperty(value = "地点")
    @TableId(value = "location_place")
    private String locationPlace;

    @ApiModelProperty(value = "施工项目")
    @TableId(value = "construction_site_name")
    private String constructionSiteName;

    @ApiModelProperty(value = "开始施工时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @TableId(value = "start_time")
    private Date startTime;

    @ApiModelProperty(value = "截止施工时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @TableId(value = "end_time")
    private Date endTime;

    @ApiModelProperty(value = "盯控人")
    @TableId(value = "monitoring_personnel")
    private String monitoringPersonnel;

    @ApiModelProperty(value = "盯控人联系方式")
    @TableId(value = "monitoring_phone")
    private String monitoringPhone;



    @ApiModelProperty(value = "通话记录id")
    private String callId;

    @ApiModelProperty(value = "呼入电话号")
    private String inPhoneNumber;

    @ApiModelProperty(value = "呼入时间")
    private Date inTime;

    @ApiModelProperty(value = "通话按键结果")
    private String inCallResult;

    @ApiModelProperty(value = "逻辑删除")
    private Integer isDelete;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
